<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilsecure: xsecure_init.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilsecure
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xsecure__init_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xsecure_init.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>Header file for <a class="el" href="xsecure__init_8c.html" title="This file contains the initialization functions to be called by PLM. ">xsecure_init.c</a>. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date        Changes
</p>
<hr/>
<p>
1.0   rpo  07/01/2020 Initial release
4.3   rpo  07/01/2020 Updated file version to sync with library version
      am   09/24/2020 Resolved MISRA C violations
      har  10/12/2020 Addressed security review comments
4.5   bm   05/13/2021 Add common crypto instances
4.6   ma   07/08/2022 Added support for secure lockdown
5.4   kal  07/24/2024 Code refactoring for versal_2ve_2vm
      pre  03/02/2025 Modified prototype of XSecure_Init function
      sd   04/30/2025 Make XSecure_AesShaInit as non static function</pre><pre></pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gae97f3300511e1fce60d35fac22781594"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__generic__server__apis.html#gae97f3300511e1fce60d35fac22781594">XSecure_Init</a> (XSecure_PartialPdiEventParams *PpdiEventParamsPtr)</td></tr>
<tr class="memdesc:gae97f3300511e1fce60d35fac22781594"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function registers the handlers for XilSecure IPI commands.  <a href="group__xsecure__generic__server__apis.html#gae97f3300511e1fce60d35fac22781594">More...</a><br/></td></tr>
<tr class="separator:gae97f3300511e1fce60d35fac22781594"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9aa6e139b83f8847145b76986672d29a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__generic__server__apis.html#ga9aa6e139b83f8847145b76986672d29a">XSecure_AesShaInit</a> (void)</td></tr>
<tr class="memdesc:ga9aa6e139b83f8847145b76986672d29a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes AES and SHA hardware instances.  <a href="group__xsecure__generic__server__apis.html#ga9aa6e139b83f8847145b76986672d29a">More...</a><br/></td></tr>
<tr class="separator:ga9aa6e139b83f8847145b76986672d29a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaae2c6ce911d390c5176b5b4b7ff5a4fb"><td class="memItemLeft" align="right" valign="top">XSecure_Sha *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__generic__server__apis.html#gaae2c6ce911d390c5176b5b4b7ff5a4fb">XSecure_GetSha3Instance</a> (u32 DeviceId)</td></tr>
<tr class="memdesc:gaae2c6ce911d390c5176b5b4b7ff5a4fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides the pointer to the sha3 instance.  <a href="group__xsecure__generic__server__apis.html#gaae2c6ce911d390c5176b5b4b7ff5a4fb">More...</a><br/></td></tr>
<tr class="separator:gaae2c6ce911d390c5176b5b4b7ff5a4fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9c421c34d99194009679bdb4cf888ca"><td class="memItemLeft" align="right" valign="top">XSecure_Sha *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__generic__server__apis.html#gac9c421c34d99194009679bdb4cf888ca">XSecure_GetSha2Instance</a> (u32 DeviceId)</td></tr>
<tr class="memdesc:gac9c421c34d99194009679bdb4cf888ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides the pointer to the sha2 instance.  <a href="group__xsecure__generic__server__apis.html#gac9c421c34d99194009679bdb4cf888ca">More...</a><br/></td></tr>
<tr class="separator:gac9c421c34d99194009679bdb4cf888ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga11d8bbf7423a10f98cbcfd4796ea6d6a"><td class="memItemLeft" align="right" valign="top">XSecure_Aes *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__generic__server__apis.html#ga11d8bbf7423a10f98cbcfd4796ea6d6a">XSecure_GetAesInstance</a> (void)</td></tr>
<tr class="memdesc:ga11d8bbf7423a10f98cbcfd4796ea6d6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides the pointer to the common Aes instance which has to be used between PLM and xilsecure server.  <a href="group__xsecure__generic__server__apis.html#ga11d8bbf7423a10f98cbcfd4796ea6d6a">More...</a><br/></td></tr>
<tr class="separator:ga11d8bbf7423a10f98cbcfd4796ea6d6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0b44f0c1faad2a80c53984e83549267"><td class="memItemLeft" align="right" valign="top">XSecure_Sha *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__generic__server__apis.html#gab0b44f0c1faad2a80c53984e83549267">XSecure_GetShaInstance</a> (u32 DeviceId)</td></tr>
<tr class="memdesc:gab0b44f0c1faad2a80c53984e83549267"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides the pointer to the sha instance based on the DevieId.  <a href="group__xsecure__generic__server__apis.html#gab0b44f0c1faad2a80c53984e83549267">More...</a><br/></td></tr>
<tr class="separator:gab0b44f0c1faad2a80c53984e83549267"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d02aaca191ced35af31e6f80b76f2b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_secure___rsa.html">XSecure_Rsa</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xsecure__generic__server__apis.html#ga4d02aaca191ced35af31e6f80b76f2b8">XSecure_GetRsaInstance</a> (void)</td></tr>
<tr class="memdesc:ga4d02aaca191ced35af31e6f80b76f2b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function provides the pointer to the common Rsa instance which has to be used between PLM and xilsecure server.  <a href="group__xsecure__generic__server__apis.html#ga4d02aaca191ced35af31e6f80b76f2b8">More...</a><br/></td></tr>
<tr class="separator:ga4d02aaca191ced35af31e6f80b76f2b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
